/**
 * @description list handle
 * @author 盘古他爹
 */

import lsRequest from "../index";
import { IDataType } from "../types";
import { IGetListInfo, IGetListResult, ListUrl, IGetListData } from "./types";
// data: IGetListInfo
class _ListHandle {
  //获取列表信息
  getScriptList() {
    return lsRequest.get<IDataType<IGetListResult>>({
      url: ListUrl.getList,
      // data
    });
  }
}

// export default new ListHandle();
const ListHandle = new _ListHandle();
export {
  ListHandle
}
